Skip to content

Downgrade INSERT_OVERWRITE error to warning for SQL warehouses#1038

Merged
ericj-db merged 1 commit into
mainfrom
eric-jang_data/insert-overwrite-warn
May 29, 2025
Merged

Downgrade INSERT_OVERWRITE error to warning for SQL warehouses#1038
ericj-db merged 1 commit into
mainfrom
eric-jang_data/insert-overwrite-warn

Conversation

@ericj-db
Copy link
Copy Markdown
Collaborator

Resolves #

Description

It seems like some customers are using INSERT_OVERWRITE with SQL warehouses to leverage the side effect of reusing the same table for subsequent runs. Downgrading the compiler error to a warning

Checklist

  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • I have updated the CHANGELOG.md and added information about my change to the "dbt-databricks next" section.

@ericj-db ericj-db requested a review from benc-db as a code owner May 29, 2025 17:01
@ericj-db
Copy link
Copy Markdown
Collaborator Author

Merging as the failing integration tests are unrelated to this change. Will investigate that separately

@ericj-db ericj-db merged commit cf2fc02 into main May 29, 2025
6 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants